package acs.bridge.jreport;

import javax.mail.MessagingException;
import java.io.IOException;
import java.util.Collection;
import java.util.Properties;

/**
 * acs.jreport
 * User: KuznetsovStV
 * Date: 25.12.11
 * Time: 12:45
 */
public interface JReportSaveInterface {
    public void saveReport(byte[] data, String extension) throws IOException, MessagingException;

    public void setReportName(String reportName);

    public String getReportName();

    public void setPostfix(String postfix);

    public void setParameters(Properties parameters);

    public void saveReportItem(Collection<JReportItem> jReportItemCollection) throws Exception;
}
